package com.luych.toolbox.common.feign.param.automation.service;

import com.luych.toolbox.common.feign.FeignParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("任务执行数据参数")
public class AutoTaskHistoryParam extends FeignParam {

    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("任务模板ID")
    private String autoTaskTemplateId;
    @ApiModelProperty("目标服务器")
    private List<String> servers;
    @ApiModelProperty("执行参数")
    private List<AutoTaskHistoryArgParam> args;
    @ApiModelProperty("责任人ID")
    private String ownerId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAutoTaskTemplateId() {
        return autoTaskTemplateId;
    }

    public void setAutoTaskTemplateId(String autoTaskTemplateId) {
        this.autoTaskTemplateId = autoTaskTemplateId;
    }

    public List<String> getServers() {
        return servers;
    }

    public void setServers(List<String> servers) {
        this.servers = servers;
    }

    public List<AutoTaskHistoryArgParam> getArgs() {
        return args;
    }

    public void setArgs(List<AutoTaskHistoryArgParam> args) {
        this.args = args;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }
}